synthetic division of polynomials